#!/bin/sh
#
# svn.sh: Subversion wrapper
#
# $Id: svn.sh.in 557 2008-08-21 21:47:13Z enki $
# -------------------------------------------------------------------------
test $lib_svn_sh || {

: ${prefix:="@prefix@"}
: ${exec_prefix:="@prefix@"}
: ${libdir:="${exec_prefix}/lib"}
: ${shlibdir:="${libdir}/sh"}

# svn_status <flags> [options] [path]
# -------------------------------------------------------------------------
svn_status()
{
  local flags="${1:-?0-9A-Za-z}"

  shift

  svn status "$@" | sed -n \
    -e "s/^[$flags]......//p"
}

# --- eof ---------------------------------------------------------------------
lib_svn_sh=:;}
